package com.dubbox;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * client的含义
 * EnableDubbo，就是spring对dubbo的支持
 * 会在服务初始化时，加入dubbo的内容，使dubbo的代码被执行到，否则就会执行不到，是冗余代码包
 */
@SpringBootApplication
@EnableDubbo
public class SimApplication {

    public static void main(String[] args) {
        SpringApplication.run(SimApplication.class, args);
    }

}

